import {HomeOutlined,UserOutlined,ScheduleOutlined,GroupOutlined,PayCircleOutlined,ApiOutlined,BorderInnerOutlined,ShoppingOutlined} from "@ant-design/icons";

const sidebarArr = [
    {
        key:0,
        id:0,
        path:'home',
        title:'首页',
        boo:false,
        icon:<HomeOutlined/>,
        bgcolor:'#2F4050'
    },
    {
        key:1,
        id:1,
        title:'用户管理',
        list:[
            {
                key:0,
                name:'查询用户信息',
                path:'cxuser',
                live:1
            },
            {
                key:1,
                name:'管理用户信息',
                path: 'manageuser',
                live:2
            }
        ],
        boo:false,
        icon:<UserOutlined/>,
        bgcolor:'#2F4050'
        // type:0
    },
    {
        key:2,
        id:2,
        title:'公告管理',
        list:[
            {
                key:0,
                name:'发布公告',
                path:'Announdet',
                live:1
            },
            {
                key:1,
                name:'查询公告',
                path:'Announdeq',
                live:0
            },
            {
                key:2,
                name:'修改/删除公告',
                path:'Announdel',
                live:2
            },

        ],
        boo:false,
        icon:<ScheduleOutlined/>,
        // type:2
        bgcolor:'#2F4050'
    },
    {
        key:3,
        id:3,
        title:'广告管理',
        list:[
            {
                key:0,
                name:'发布广告',
                path:'AdDetails',
                live:1
            },
            {
                key:1,
                name:'查询广告',
                path:'Adcxun',
                live:0
            },
            {
                key:2,
                name:'修改/删除广告',
                path:'Addel',
                live:1
            }
        ],
        boo:false,
        icon:<GroupOutlined/>,
        // type:3
        bgcolor:'#2F4050'
    },
    {
        key:4,
        id:4,
        title:'优惠卷管理',
        list:[
            {
                key:0,
                name:'发布优惠券',
                path:'coulook',
                live:0
            },
            {
                key:1,
                name:'新建/修改/删除优惠卷',
                path:'Addcoulook',
                live:1
            }
        ],
        boo:false,
        icon:<PayCircleOutlined/>,
        // type:4
        bgcolor:'#2F4050'
    },
    {
        key:5,
        id:5,
        title:'权限管理',
        list:[
            {
                key:0,
                name:'权限分配',
                path:'jurisfen',
                live:0
            },
            {
                key:1,
                name:'角色管理',
                path:'Rolemanage',
                live:1
            }
        ],
        boo:false,
        icon:<ApiOutlined/>,
        // type:5,
        bgcolor:'#2F4050'
    },

    {
        key:6,
        id:6,
        title:'订单管理',
        list:[
            {
                key:0,
                name:'查看订单',
                path:'dintop',
                live:0
            },
            {
                key:1,
                name:'管理订单',
                path: 'dinChu',
                live:1
            },
        ],
        boo:false,
        icon:<BorderInnerOutlined/>,
        // type:0
        bgcolor:'#2F4050'
    },
    {
        key:7,
        id:7,
        title:'商品管理',
        list:[
            {
                key:0,
                name:'添加商品',
                path:'addshop',
                live:0
            },
            {
                key:1,
                name:'修改商品',
                path: 'queryshop',
                live:1
            },
            {
                key:2,
                name:'下架商品',
                path: 'shelfshop',
                live:1
            }
        ],
        boo:false,
        icon:<ShoppingOutlined/>,
        bgcolor:'#2F4050'
        // type:0
    },
]

export default sidebarArr
